package main

import (
	"crypto/rand"
	"encoding/base64"
)

func generateShortURL() string {

	b := make([]byte, 6)
	rand.Read(b)

	return base64.RawURLEncoding.EncodeToString(b)[:6]
}
